<ul class="layui-nav layui-bg-green">
  <li class="layui-nav-item {if condition="request()->action() == 'index'"} layui-this {/if}"><a href="{:url('index', ['code' => $code])}">未完成列表</a></li>
  <li class="layui-nav-item {if condition="request()->action() == 'over'"} layui-this {/if}"><a href="{:url('over', ['code' => $code, 't' => $t])}">已完成列表</a></li>
</ul>